package com.alpha.springmvc.validation;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = MeetingValidator.class)

public @interface MeetingBacklogConstraint {
    String message() default "backlog of meeting type must has a address";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};

}
